package com.guosheng.dao;

import com.guosheng.pojo.SysUser;
import com.guosheng.pojo.SysUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysUserMapper {
	 int countByExample(SysUserExample example);

	    int deleteByExample(SysUserExample example);

	    int deleteByPrimaryKey(String id);

	    int insert(SysUser record);
	    int insertUserRole(SysUser user);
	    int insertSelective(SysUser record);

	    List<SysUser> selectByExample(SysUserExample example);
	    List<SysUser> selectAllUser();
	    SysUser selectByPrimaryKey(String id);

	    int updateByExampleSelective(@Param("record") SysUser record, @Param("example") SysUserExample example);

	    int updateByExample(@Param("record") SysUser record, @Param("example") SysUserExample example);

	    int updateByPrimaryKeySelective(SysUser record);

	    int updateByPrimaryKey(SysUser record);
}